using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;

namespace PBR
{
    public interface IConvertToXml
    {

        /// <summary>
        /// Converts the instance to the PBR Xml format as defined in
        /// PBR.XMLSchema
        /// Note: all sub items must also use this interface
        /// </summary>
        /// <param name="root">The root to append this item to</param>
        /// <param name="doc">The document that is being created</param>
        void ConvertToXml(XmlElement root, XmlDocument doc);
    }
}
